Total Complexity | 72 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 555 |
Lines of code | 329 |
Logical lines of code | 149 |
Comment lines | 156 |
Methods | 15 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
install_webhook() | 42 | 12 | 52 | |
get_webhook_install_args() | 53 | 10 | 20 | |
install_plugin_via_webhook() | 44 | 8 | 45 | |
verify_authentication() | 52 | 9 | 21 | |
verify_signature() | 47 | 7 | 35 | |
get_install_webhook_args() | 44 | 5 | 52 | |
get_param_from_multiple_sources() | 59 | 5 | 14 | |
verify_referrer() | 57 | 4 | 15 | |
verify_user_agent() | 60 | 4 | 11 | |
verify_webhook() | 56 | 2 | 19 | |
register_routes() | 54 | 1 | 26 | |
validate_secure_connection() | 66 | 2 | 9 | |
__construct() | 80 | 1 | 3 | |
clean_up_access_token() | 75 | 1 | 4 | |
webhook_permissions_check() | 82 | 1 | 3 |